package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.PageParam;
import com.example.gw_back_end.domain.PageResult;
import com.example.gw_back_end.domain.entities.Section;

public interface SectionService extends IService<Section> {

    boolean addSection(Section section);

    boolean deleteSection(Integer id);

    Section getSectionById(Integer id);

    PageResult<Section> getSectionByPage(PageParam pageParam);

    boolean updateSection(Section section);
}
